package com.atguigu.spzx.manager;

import com.atguigu.common.service.anno.EnableGlobaleExceptionHandler;
import com.atguigu.common.service.exception.GlobalExceptionHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Import;

/**
 * @Author yaya
 * @Create 2024/6/18 17:53
 * Description:
 */
@EnableConfigurationProperties
@SpringBootApplication
@EnableGlobaleExceptionHandler // 引入全局异常处理
@MapperScan("com.atguigu.spzx.manager.mapper")
public class ManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class, args);
    }
}
